﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TMIS.BLL
{
    public class OpenReport
    {
        /// <summary>
        /// 更新开题报告信息
        /// </summary>
        /// <param name="approval"></param>
        public void Update(Model.OpenReport openreport)
        {
            DAL.OpenReport dal = DALFactory.DALFactory.CreateOpenReport();
            dal.Update(openreport);
        }
        /// <summary>
        /// 获取ID号对应的开题报告
        /// </summary>
        /// <param name="guid"></param>
        /// <returns></returns>
        public Model.OpenReport Get(Guid guid)
        {
            DAL.OpenReport dal = DALFactory.DALFactory.CreateOpenReport();
            Model.OpenReport ope = dal.Get(guid);
            return ope;
        }
    }
}
